from PyQt4 import QtCore, QtGui


class CloseEvent(QtGui.QCloseEvent):
    
    def __init__(self, event=None):
        if event is None:
            super(CloseEvent, self).__init__()
        else:
            super(CloseEvent, self).__init__(event)
        
        self.must_close = False
